第 3 步:您,用户,将成为player精灵。让我们添加一个“健康栏”来跟踪您的巫师的健康状况!
- 转到逻辑和.将Integer Variable MAIN CODE部分的底部。
- 将变量的名称更改为player_hp并将其值更改为100 。
- 将Variable Display添加到下一行。将显示器的名称从my_display更改为player_display 。
- 将显示中的变量从my_var为player_hp并将显示定位在 ( 150 , 200 )。
To navigate the page using the TAB key, first press ESC to exit the code editor.